package miao.demo.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration //设置好当前类为配置类
@ComponentScan("miao.demo")
@PropertySource("classpath:jdbc.properties") //设置配置文件路径
@Import({JdbcConfig.class,MybatisConfig.class})  //导入第三方bean
public class SpringConfig {
}
